<?php
/**
 * 后台首页控制器
 */
class IndexController extends AuthController{
    public function index(){
        //显示视图 
        $this->display();
    }
    /**
     * 欢迎界面
     */
    public function welcome(){
    	// P($_SERVER);
    	$info = array(
			'ware'=>$_SERVER['SERVER_SOFTWARE'],
			'version'=>PHP_VERSION,
			'ip'=>$_SERVER['SERVER_ADDR'],
			'dbinfo'=>mysql_get_client_info()
			);
		$this->assign('info',$info);
		
    	$this->display();
    }
}
